<template>
  <van-empty class="empty-container" :image="emptyImg" :description="title" />
</template>

<script>
export default {
  components: {},
  props: {
    title: {
      type: String,
      default: '暂无数据',
    },
  },
  data() {
    return {
      emptyImg: require('@/assets/images/nodata.png'),
    }
  },
  mounted() {},
  methods: {},
}
</script>

<style lang="scss" scoped>
.empty-container {
  padding-top: 200px;
  /deep/ .van-empty__description {
    margin-top: -70px;
  }
}
</style>
